<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="test"></div>
    <script src="../lib/react.development.js"></script>
  <script src="../lib/react-dom.development.js"></script>
  <script src="../lib/babel.min.js"></script>
  <script src="../lib/prop-types.js"></script>
  <script type="text/babel">
function Person(props){
    return <h3>你好呀函数式组件,name:{props.name},age:{props.age},因为我是函数式
        组件没有this只能用props,state和refs没他的份</h3>
}
ReactDOM.render(<Person name="USAV但是" age={15}/>,document.getElementById('test'))
      </script>
</body>
</html>